/**
 * com.cnhis.his.customer.mapper.Bci1.java
 */
package com.mbmed.doctor.medadvice.mapper;

import javax.xml.bind.annotation.XmlRootElement;

import com.mbmed.doctor.commons.utils.BaseVO;

/**
 * @file  Bci1.java
 * @author 刘武
 * @version 0.1
 * @todo	Bci1数据值
 * Copyright(C), 2013-2014
 *		 Shenzhen Coordinates Software Development Co., Ltd.
 * History
 *   	1. Date: 2014-11-01 06:42:53
 *      	Author: 刘武
 *      	Modification: this file was created
 *   	2. ...
 */
@XmlRootElement
public class Bci1 extends BaseVO implements java.io.Serializable{

	private java.lang.Integer bci01;
	private java.lang.Integer bci01a;
	private java.lang.Byte lvlnr;
	private java.lang.Integer bbx01;
	private java.lang.String bbc01;
	private java.lang.String bci06;
	private java.lang.String bci07;
	private java.lang.Byte bci08;
	private java.lang.Byte bci09;
	private java.lang.Byte isdef;
	
	private java.lang.String bdd02;
	
	public java.lang.String getBdd02() {
		return bdd02;
	}

	public void setBdd02(java.lang.String bdd02) {
		this.bdd02 = bdd02;
	}

	public Bci1(){
	}

	public Bci1(
		java.lang.Integer bci01
	){
		this.bci01 = bci01;
	}



	public void setBci01(java.lang.Integer value) {
		this.bci01 = value;
	}	
	public java.lang.Integer getBci01() {
		return this.bci01;
	}

	public void setBci01a(java.lang.Integer value) {
		this.bci01a = value;
	}	
	public java.lang.Integer getBci01a() {
		return this.bci01a;
	}

	public void setLvlnr(java.lang.Byte value) {
		this.lvlnr = value;
	}	
	public java.lang.Byte getLvlnr() {
		return this.lvlnr;
	}

	public void setBbx01(java.lang.Integer value) {
		this.bbx01 = value;
	}	
	public java.lang.Integer getBbx01() {
		return this.bbx01;
	}

	public void setBbc01(java.lang.String value) {
		this.bbc01 = value;
	}	
	public java.lang.String getBbc01() {
		return this.bbc01;
	}

	public void setBci06(java.lang.String value) {
		this.bci06 = value;
	}	
	public java.lang.String getBci06() {
		return this.bci06;
	}

	public void setBci07(java.lang.String value) {
		this.bci07 = value;
	}	
	public java.lang.String getBci07() {
		return this.bci07;
	}

	public void setBci08(java.lang.Byte value) {
		this.bci08 = value;
	}	
	public java.lang.Byte getBci08() {
		return this.bci08;
	}

	public void setBci09(java.lang.Byte value) {
		this.bci09 = value;
	}	
	public java.lang.Byte getBci09() {
		return this.bci09;
	}

	public void setIsdef(java.lang.Byte value) {
		this.isdef = value;
	}	
	public java.lang.Byte getIsdef() {
		return this.isdef;
	}


    public String toString() {
		  StringBuffer buffer = new StringBuffer();
		  buffer.append(getClass().getName()).append("@").append(Integer.toHexString(hashCode())).append(" [");	
			   buffer.append("Bci01").append("='").append(getBci01()).append("' ");	
			   buffer.append("Bci01a").append("='").append(getBci01a()).append("' ");	
			   buffer.append("Lvlnr").append("='").append(getLvlnr()).append("' ");	
			   buffer.append("Bbx01").append("='").append(getBbx01()).append("' ");	
			   buffer.append("Bbc01").append("='").append(getBbc01()).append("' ");	
			   buffer.append("Bci06").append("='").append(getBci06()).append("' ");	
			   buffer.append("Bci07").append("='").append(getBci07()).append("' ");	
			   buffer.append("Bci08").append("='").append(getBci08()).append("' ");	
			   buffer.append("Bci09").append("='").append(getBci09()).append("' ");	
			   buffer.append("Isdef").append("='").append(getIsdef()).append("' ");	
		  buffer.append("]");
		  return buffer.toString();
	}		

	public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof Bci1) ) return false;
		 Bci1  castOther = ( Bci1) other;  
		 return 
					( (this.getBci01()==castOther.getBci01()) ||( this.getBci01()!=null && castOther.getBci01()!=null && this.getBci01().equals(castOther.getBci01()) ) )
					&&( (this.getBci01a()==castOther.getBci01a()) ||( this.getBci01a()!=null && castOther.getBci01a()!=null && this.getBci01a().equals(castOther.getBci01a()) ) )
					&&( (this.getLvlnr()==castOther.getLvlnr()) ||( this.getLvlnr()!=null && castOther.getLvlnr()!=null && this.getLvlnr().equals(castOther.getLvlnr()) ) )
					&&( (this.getBbx01()==castOther.getBbx01()) ||( this.getBbx01()!=null && castOther.getBbx01()!=null && this.getBbx01().equals(castOther.getBbx01()) ) )
					&&( (this.getBbc01()==castOther.getBbc01()) ||( this.getBbc01()!=null && castOther.getBbc01()!=null && this.getBbc01().equals(castOther.getBbc01()) ) )
					&&( (this.getBci06()==castOther.getBci06()) ||( this.getBci06()!=null && castOther.getBci06()!=null && this.getBci06().equals(castOther.getBci06()) ) )
					&&( (this.getBci07()==castOther.getBci07()) ||( this.getBci07()!=null && castOther.getBci07()!=null && this.getBci07().equals(castOther.getBci07()) ) )
					&&( (this.getBci08()==castOther.getBci08()) ||( this.getBci08()!=null && castOther.getBci08()!=null && this.getBci08().equals(castOther.getBci08()) ) )
					&&( (this.getBci09()==castOther.getBci09()) ||( this.getBci09()!=null && castOther.getBci09()!=null && this.getBci09().equals(castOther.getBci09()) ) )
					&&( (this.getIsdef()==castOther.getIsdef()) ||( this.getIsdef()!=null && castOther.getIsdef()!=null && this.getIsdef().equals(castOther.getIsdef()) ) )
			;
    }

	public int hashCode() {
         int result = 17;
				  result = 37 * result + (getBci01() == null ? 0 : this.getBci01().hashCode() );
				  result = 37 * result + (getBci01a() == null ? 0 : this.getBci01a().hashCode() );
				  result = 37 * result + (getLvlnr() == null ? 0 : this.getLvlnr().hashCode() );
				  result = 37 * result + (getBbx01() == null ? 0 : this.getBbx01().hashCode() );
				  result = 37 * result + (getBbc01() == null ? 0 : this.getBbc01().hashCode() );
				  result = 37 * result + (getBci06() == null ? 0 : this.getBci06().hashCode() );
				  result = 37 * result + (getBci07() == null ? 0 : this.getBci07().hashCode() );
				  result = 37 * result + (getBci08() == null ? 0 : this.getBci08().hashCode() );
				  result = 37 * result + (getBci09() == null ? 0 : this.getBci09().hashCode() );
				  result = 37 * result + (getIsdef() == null ? 0 : this.getIsdef().hashCode() );
         return result;
	} 
	
}
